package com.jcai.middlend.codegenerator.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: zhuCan
 * @date: 2019/10/16 14:44
 * @description: 标记枚举生成flyway 的db.sql 初始化
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.CLASS)
public @interface FlywayInitializer {

  String codeColumn() default "code";

  String valueColumn() default "name";

  String table();
}
